package cn.exrick.xboot.modules.transport.service;

import cn.exrick.xboot.modules.transport.entity.DealRecord;
import cn.exrick.xboot.modules.transport.param.SaveDealRecordParam;
import cn.exrick.xboot.modules.transport.vo.DealRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 物流公司基本信息接口
 * @author gj
 */
public interface DealRecordService extends IService<DealRecord> {

    DealRecordVo saveDealRecord(SaveDealRecordParam dealRecordParam);

    /**
     * 取消交易，再未支付的时候取消
     * @param dealRecordId
     * @return
     */
    Boolean cancelDealRecord(Long dealRecordId);
}